home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / cdinst.cmd < prev    next >
OS/2 REXX Batch file  |  1994-10-31  |  2KB  |  69 lines

  1. @Echo off
  2.  
  3. REM This .BAT file creates the two installation diskettes required
  4. REM to install OS/2 from CD-ROM.
  5. REM
  6.  
  7. REM Display Installation Instructions
  8.  
  9. CLS
  10. ECHO Welcome to OS/2.
  11. ECHO ...
  12. ECHO To install this version of OS/2 from CD-ROM,
  13. ECHO you must first create two installation diskettes.
  14. ECHO Follow the directions on your screen to create
  15. ECHO these diskettes.
  16. ECHO ...
  17. ECHO To QUIT, press Ctrl+C.
  18. ECHO ...
  19. PAUSE
  20. CLS
  21.  
  22. REM Test for CDROM
  23.  
  24. IF EXIST \DISKIMGS\LOADDSKF.EXE GOTO START
  25.  
  26. ECHO This program must be started from your CD-ROM Drive.
  27.  
  28. GOTO EXIT
  29.  
  30. :START
  31.  
  32. REM OK, we are going to create the disks.
  33.  
  34. ECHO Label a blank diskette "OS/2 Diskette 1" and
  35. ECHO insert it into Drive A:
  36. PAUSE
  37. ECHO Now creating the
  38. ECHO OS/2 Diskette 1.
  39. \DISKIMGS\LOADDSKF %1\DISKIMGS\OS2\35\DISK1_CD.DSK A: /Y/Q/F
  40. IF ERRORLEVEL 1 GOTO BAD
  41. CLS
  42. ECHO Please remove the diskette from Drive A:
  43. Pause
  44.  
  45. CLS
  46. ECHO Label another blank diskette "Installation Diskette" and
  47. ECHO insert it into Drive A:
  48. PAUSE
  49. ECHO Now creating the
  50. ECHO Installation Diskette.
  51. \DISKIMGS\LOADDSKF %1\DISKIMGS\OS2\35\DISK0.DSK A: /Y/Q/F
  52. IF ERRORLEVEL 1 GOTO BAD
  53.  
  54. CLS
  55. ECHO To install OS/2:
  56.  
  57. ECHO 1) Leave the Installation Diskette in Drive A:
  58. ECHO 2) Press Ctrl, Alt, and Del to restart your computer.
  59. ECHO 3) After restarting your computer, follow the
  60. ECHO    instructions on your screen.
  61. GOTO EXIT
  62.  
  63. :BAD
  64. ECHO A problem occured while creating the installation
  65. ECHO diskettes.  Refer to the README.INS file located in
  66. ECHO the root directory on the CD-ROM for additional help.
  67. :EXIT
  68.  
  69.